package com.atguigu.gmall.list.dao;

import com.atguigu.gmall.model.list.Goods;
import io.swagger.annotations.ApiResponses;
import org.springframework.data.elasticsearch.client.RestClients;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

/**
 * @Description: TODO
 * @Author: Mr.Cao
 * @DateTime: 2021/10/13 19:18
 * BMW F750GS
 **/
@Repository
public interface GoodsDao extends ElasticsearchRepository <Goods,Long>{
    /*
    * ElasticsearchRepository<T, ID>
    * t: 当前操作索引库的类型
    * ID： 操作索引库的ID的类型
    * */
}
